<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    <h:head>
        <link href="resources/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
        <link href="resources/css/signin.css" rel="stylesheet" type="text/css"/>
    </h:head>
    <body>
        <div class="container">
            <h:form class="form-signin" id="idLogin">
               <h2 class="form-signin-heading">Favor identificar-se</h2>
               <h:inputText id="idEMail" value="#{controleAcessoSessionBean.email}" class="form-control" required="true" />
               <h:inputSecret id="idSenha" value="#{controleAcessoSessionBean.senha}" class="form-control" required="true"/>
               <h:commandButton class="btn btn-lg btn-primary btn-block" type="submit" id="idEntrar" immediate="true" value="Entrar" action="#{controleAcessoSessionBean.efetuarLogin}"></h:commandButton>
            </h:form>
        </div>
    </body>
</html>

